#include "Color.h"

Color::Color() {
}

Color::Color(string rgb) {
	this->rgb = rgb;
}

Color::Color(string r,string g,string b) {
	this->R = R;
	this->G = G;
	this->B = B;
	this->rgb.append(R).append(G).append(B);
}

Color::~Color() {
}

string Color::getR(){
	return this->R;
}

string Color::getG(){
	return this->G;
}

string Color::getB(){
	return this->B;
}

void Color::setR(string R){
	this->R = R;
}

void Color::setG(string G){
	this->G = G;
}

void Color::setB(string B){
	this->B = B;
}

string Color::getRGB(){
	return this->rgb;
}

void Color::setRGB(string R,string G,string B){
	this->R = R;
	this->G = G;
	this->B = B;
	this->rgb.append(R).append(G).append(B);
}

void Color::setRGB(string rgb){
	this->rgb = rgb;
}
